package com.firewolf.service;

import org.springframework.beans.factory.annotation.Autowired;

import com.firewolf.dao.UserDao;
import com.firewolf.entities.User;

public class UserService {

	@Autowired
	private UserDao userDao;

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

	public User findByUsername(String username) {
		return userDao.findByUsername(username);
	}

}
